<template>
  <el-container style="height: 100%;">
    <!--左侧部分-->
    <el-aside width="200px" style="background-color: rgb(238, 241, 246)">
      <asides></asides>
      </el-aside>
      <!--头部-->
      <el-container>
        <el-header style="text-align: right; font-size: 12px;height:110px;">
          <headers></headers>
        </el-header>
        <!--主要页面-->
        <el-main style="height:114514px">
          <router-view></router-view>
          <!--<index44/>-->
        </el-main>
      </el-container>
  </el-container>
</template>

<script>
  import asides from "./components/aside.vue"
  import headers from "./components/header.vue"
  //import index51 from "./components/index5_1.vue"
  //import index52 from "./components/index5_2.vue"
  //import index53 from "./components/index5_3.vue"
  //import index54 from "./components/index5_4.vue"
  export default {
    data() {
      const item = {
        date: '2016-05-02',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1518 弄'
      };
      return {
        username: "Chino",
        tableData: Array(20).fill(item)
      }
    },
    components: {
      asides,
      headers,
    },
     methods: {
       errorHandler() {
         console.log(false);
      }
    }
  }
</script>

<style>
/*主体部分*/
.el-main{
    background-color:#e9eef3;
}
  /*头部*/
  .el-header {
    background-color: #B3C0D1;
    color: #333;
    padding: 0;
    line-height: 60px;
  }

  /*左侧*/

  .el-aside {
    color: #333;
  }

  /*HTML*/
  body {
    margin: 0;
    overflow: hidden;
  }

  ::-webkit-scrollbar {
    display: none;
  }
</style>
